home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / asndup.doc < prev    next >
Text File  |  1995-03-31  |  2KB  |  55 lines

  1. ASNDUP, or Mode-Sensitive Key Assignments, by Joseph K Horn 
  2.  
  3. Here's a trick you might want to use. 
  4.  
  5. Key assignments can serve double purpose.  For example, I never use the MATRIX 
  6. WRITER application key, except to put DUP into programs.  But I use ASN 
  7. regularly.  So I assigned the following little program to the MATRIX key.  Its 
  8. action depends on what mode the 48's in.  When the 48 is in program entry mode 
  9. (PRG annunciator on), then this program generates a DUP; otherwise, it does ASN 
  10. (instead of the Matrix Writer). 
  11.  
  12. Use ASC-> to decode: 
  13.  
  14.  
  15. -------------< ASNDUP >-------- 
  16. %%HP:T(1); 
  17. "D9D20A1EE378BF14F422B2130FCDC" 
  18. ------------------------------- 
  19.  
  20.  
  21. Checksum of program: #CDCFh 
  22. Size: 12.5 bytes 
  23.  
  24. After deASCing the above, type 51.3 ASN, and it'll be assigned to the MATRIX 
  25. key. 
  26.  
  27. Here's a Voyager-style listing: 
  28.  
  29.  
  30. 02D9D :: (Begin Program) 
  31. 3EE1A   If PRG mode, do/skip, else skip/do 
  32. 1FB87   DUP 
  33. 224F4   ASN 
  34. 0312B ; (End Program) 
  35.  
  36.  
  37. Of course, you can put anything you want in place of DUP and/or ASN, to 
  38. personalize the MATRIX key.   
  39.  
  40. You might object that a plain old assignment would be okay, since the Equation 
  41. Writer key can be used to enter DUP into programs.  Ah, but I've already used 
  42. the above technique to redefine that key, too!  (Don't use named programs for 
  43. tasks best done by key assignments.  Ditto for CST menus.  Libraries too.) 
  44.  
  45. Permanently leaving your 48 in USER mode is only a bad idea if you regularly 
  46. share its use with other people.  Otherwise, turn on USER and leave it on.  We 
  47. paid a lot of money for the logic that enables us to personalize this machine. 
  48. Let's use it. 
  49.  
  50. There are a lot of keys that serve no purpose (other than to beep) when in PRG 
  51. mode; for example, 2D and 3D.  Now you can assign whatever you want to them 
  52. (e.g. programming commands) without losing their non-PRG mode definitions. 
  53.  
  54. --  Joseph K Horn  --  Peripheral Vision, Ltd.  -- 
  55.